import {HttpClient} from "@/utils/client";

type Issue = {
    id: number;
    name: string;
    desc: string;
    priority: number;
    status: number;
}

export default {
    addIssue: async () => {
        return HttpClient.post("/api/issue/add");
    },
    getIssueList: async (issue: Issue) => {
        return HttpClient.get("/api/issue/list", issue);
    }
}